home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12535 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.0 KB  |  35 lines

  1. Path: news.lpr.carel.fi!usenet
  2. From: Ari Lukumies <aril@cmt.lpr.mail.carel.fi>
  3. Newsgroups: comp.lang.c,comp.lang.c++
  4. Subject: Re: I dont want BIOS to get the keystrokes..
  5. Date: Wed, 20 Mar 1996 15:20:53 +0200
  6. Organization: Carelcomp Products
  7. Message-ID: <31500635.5C9E@cmt.lpr.mail.carel.fi>
  8. References: <4imdph$497@dos.canit.se>
  9. NNTP-Posting-Host: renoir.cclahti.carel.fi
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Mailer: Mozilla 2.0 (WinNT; I)
  14.  
  15. Stefan Ottosson wrote:
  16. > why doesn┤t this work:?  ( Borland C++)
  17.  
  18. [code snipped]
  19. > what I┤m trying to do is to take over interupt 9h and do nothing until
  20. > the interupt has been called 30 times, and then return to dos..
  21. > It works if I call oldhandler() in keyb(), but I dont want to give the
  22. > keystrokes to BIOS!!
  23.  
  24. You must reset the interrupt controller after an INT 9 occurs. If I remember 
  25. correctly, you'd need to read the data from the kbd controller, too, so that it will 
  26. be in a known state.
  27.  
  28. Later,
  29.  AriL
  30. -- 
  31. All my opinions are mine and mine alone.
  32.